import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './assets/css/public.css' // 字体
import './assets/css/recss.css' // 清除浏览器默认样式
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// import utils from './utils/utils'
Vue.use(ElementUI)
ElementUI.Dialog.props.closeOnClickModal.default = false;

import {getNewMusicDetile,getMusicDetile} from './utils/auts'
Vue.prototype.send = getNewMusicDetile; // 新碟上架音乐详情
Vue.prototype.getMusic = getMusicDetile // 获取音乐详情


import APlayer from '@moefe/vue-aplayer';
Vue.use(APlayer);

import VideoPlayer from 'vue-video-player'
require('video.js/dist/video-js.css')
require('vue-video-player/src/custom-theme.css')
Vue.use(VideoPlayer)

// Vue.prototype.$utils = utils

import debounce from '../src/mixins/debounce'
Vue.mixin(debounce)


// import md5 from 'js-md5';
// Vue.prototype.$md5 = md5;

Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')